Why would a bike pedal backwards, but not forward?
There is likely something wrong with the rear hub, the bearings may have seized.

If you remove the wheel from the frame can you spin the wheel whilst holding it by the axle?