An Illinois man who killed two motorcyclists in a hit-and-run crash near Janesville was sentenced to 20 years in prison Wednesday.