An officer is injured trying to stop one of the bikes being driven "recklessly" around a town.