Gov. J.B. Pritzker has signed a bill into law that classifies electric bicycles into categories based on speed and imposes age and licensing rules on riders.