A quick Google search turns up a number of pages on bicycle power systems, starting with this one, which includes a link to the plans: http://www.scienceshareware.com/bike_gen.htm