Cristiano Ronaldo scored two goals for Real Madrid as they defeat Juventus in the group stages of the UEFA Champions League.