Let's start with why they do it
Like us, dogs greet each other face-to-face, so to them it’s only natural to want to get on your eye level. Of course, while they’re there they usually want to give you a kiss and a sniff, too. It’s natural behaviour if you’re a dog, but it’s not acceptable behaviour for humans, so it's best to curb it before it becomes a habit.
How to correct it
When you first see your dog, remain tall, still and calm. Don’t give them any attention, other than a vocal correction if they start to jump. This may take some time for them to learn, but keep consistent, and never correct your dog’s behaviour physically.
Praise your dog for keeping their paws firmly on the floor. Practice entering the house and seeing how your dog responds. Avoid too much positive physical praise, though, as it could overstimulate your dog and get them too excited.