Former Gov. Phil Murphy signed legislation that creates some of the tightest regulation of electric bikes in the nation.