A driver has been arrested after a car rammed into a group of people at a busy Christmas market in Germany, killing two people and injuring dozens more.