Footrests are on rails, rails are attached via a ratcheting mechanism to an axle. Large bungee cords return the rails to the home position when pressure is released. The axle can either be the rear axle, or can be connected to the axle via bicycle gears and chain. Steering can be cut off of a bicycle and mounted on the front.
Schematic: