Help with walk cycle

Any idea on this? I need to make the walk cycle remain on the spot =/