Kylian Mbappe's two goals against Leganes saw him move level with Cristiano Ronaldo for goals in a Real Madrid debut season.