The company also said it will open 900 new McDonald’s restaurants in the U.S. within the next two years.