Mudkip can only learn is if he doesn't evolve. The best thing to do know is breed to get another mudkip. Now, give him a everstone. Now, evolve mudkip to lvl. 41 and make him learn it. After, take it away and 2 more evolution will get swampert. At this point, you will have a swampert with hydro pump.