Lucario's two Egg Groups are Field and Human-Like.
...the Field group contains lots of land-based mammals...
Lucario is partially based off a wolf, so it fits that description. As for Human-Like:
The Pokémon in this group are bipedal, like humans.
Lucario is bipedal, so it stands to reason why it would be in this group.
Hope I helped!