Mercedes-Benz is to plough EUR580m (US$672m) into its plant in Kecskemét, Hungary, to produce the next generation of the automaker's compact cars.