Often, you can get a goomba to spontaneously die and give you his coin. This has been seen in Tall, Tall, Mountain, though it will probably happen in other places as well. Normally, it involves the Goomba spotting you, then doing that crazy running. Running against certain corners, edges, or into water will make them pop.
Submitted by: Nathan Smith