Hydrocephalus is most commonly a genetic defect. It can be caused by other conditions.
If you have not already, you need to get your pup to a neurologist.
Here is a link with information. There is a lot of information on the web if you google hydrocephalus in dogs.
Water on the Brain in Dogs | PetMD