Kylian Mbappe scored two goals to help Real Madrid overcome a stubborn challenge from third-division side Talavera.