To get an egg move for a Pokemon, you need a female Pokemon (or evolution) of the Pokemon that you want to learn the egg move. Then, you need to get a male Pokemon of the same egg group as the female that knows the egg move that you want the new Pokemon to learn. Now, put them in the daycare, wait for an egg, and run around a bit until it hatches. I hope I made sense there, and if you have more questions, you should ask them in the Breeding/Egg Moves sticky.