Most important point, do not pull on outer rim of pulleys or impeller. Use the bolt holes and a steering wheel type puller plus heat if needed. Get pulley and impeller off and remove seal etc and then clean the housing with a sharp screwdriver, solvent, compressed air etc and look for snaprings. May need to dig out the grease seal behind the pulley and look inside the housing there too.
I have never seen a D4 water pump, there may not be any snap rings in it, but missing a snap ring in a bunch of dried grease is a sure way to make your water pump rebuild into an ordeal. ๐
Once you have them all out or are sure there aren't any, then you can carefully press or drive the shaft out. Make sure you understand which way it goes. There will be a shoulder in both housing and on shaft for the bearings to rest against, which should prevent things from going the wrong way.
D2-5J's, D6-9U's, D318 and D333 power units, 12E-99E grader, 922B & 944A wheel loaders, D330C generator set, DW20 water tanker and a bunch of Jersey cows to take care of in my spare time๐