The series is actually quite brilliant if a bit long winded, but most of the water came from icey commets and rocks they divert to burn off in the atmosphere. Some water comes from underground sources.
My appologies, I sometimes take things too literally, and have met too many people in the past who's education in certain areas are sadly lacking. Here's to our amazing education system! Woot.