Real Madrid safely reached the last 16 of the Copa del Rey by beating plucky minnows Olimpic Xativa 2-0 at the Bernabeu.