German carmaker Volkswagen on Friday said that it had agreed to invest more than 2 billion euros (2.2 billion dollars) in two Chinese electric car…