The bicycle would need to be connected to a torque multiplier, such as a torque converter or planetary gears. Couple that to a transfer case with the appropriate gear ratio. Have the output shaft from the transfer case direct drive a differential gear assembly that is equipped with an axle output shaft. From there, affix a pulley to the axle's output shaft & either cog belt or chain drive the generator unit.
__________________
-Oh Hey!