Mike,
The drinking water was brought on board by a water tender or from the dock. Though the ships of the period were capable of distilling their own drinking water, it was generally avoided because of the amount of fuel required. As for feed make-up water Samuel's post applies.
Bruce