If the electrical grid goes down solar panels will need a generator to take their place but if gasoline is not available a person should have sufficient battery power on hand. If not drag out the hand cranked generator.
The task of coupling a hand cranked generator to a vintage stationary bicycle would not be very difficult.
Just a thought.