Focal length depends upon the refractive index of the material of the lens with respect to the medium surrounding it. Since the surrounding medium changes from air to water, the refractive index decreases and so the focal length of the lens increases.