Elekid is not obtainable by hatching eggs in any mainline Pokémon game. Introduced in Generation II (Gold/Silver/Crystal), it’s caught in the wild—typically in power-plant or cave areas (e.g., Pokémon Gold/Silver: Power Plant; Diamond/Pearl: Valley Windworks). Later games may offer it as a gift or via in-game trade, but never as an Egg hatch.