Because we have chlorinated mains tap water in most parts of the UK, you need to dechlorinate tap water before you use it for your goldfish - pond or aquarium. Chlorine is poisonous to fish & while they may survive they will be distressed & may then fall ill. Dechlorinating can be done by drawing off the water required & allowing it to sit for a day(5gallon bucket) (larger the volume=longer standing time). Or you can get a chemical dechlorinator at most good pet shops or pond centre. Or use clean rainwater. I suggest that if you feel the pond needs a thorough clean that you could use a large container of conditioned water i.e. a very clean dustbin, Add an airpump, then as you bail out the pond catch up your fish into the airated container. This allows you to check the health of all your fish. You can then finish cleaning your pond, re-plant, refill with dechlorinated water & allow it to settle before returning the fish a few days later - (that's why you need the airpump to keep the fish well during this time.)
You will lose any natural pond life by radically cleaning a pond in this way & may then have a problem with blanket weed due to nitrates in the new water. Seek further advice if this seems compicated at a 'pond' centre.