Instructions
Travel to the Underground Path, which runs underneath Saffron City between Routes 5 and 6.
Speak with the man living in the tunnel. He will offer to teach your Pokemon a new ability in exchange for the Rage Candy Bar.
Trade the Rage Candy Bar to the man, and your Pokemon will learn the Explosion ability.