If your camera is not weather or water resistant, use a rain cape or splash bag. You can also wrap plastic bags around it but it is not the safest or most convenient method.
Remember though that the more you dress up to protect your camera and yourself, the more you will become a target. People hate boorish-looking people. As such, a guy with raincoat and swim goggles will attract attention and loads of water.