A hospital is warning people not to drink or wash with water from some of its taps while it manages a water supply issue.