baby gold fish ( for the first time ),

any body have gold fish im wondering if i can switch out the water with rain water i used tap water and some water that cane with the fish.

the water is really cloudy