Obama did far better among Cubans than he did in 2008 (IIRC, Romney tied Obama among Cubans in 2012) and won Puerto Ricans 83–17. Romney thought he could win the state by maxing out the white vote and focused too little and too late on the Hispanic vote. He also ran an ad linking Obama To Latin American dictators which, uh, didn't help at all.
Which is why the GOP needs Rubio on the ticket as well as someone who connects well - say, Kasich. No, Cubans aren't going to vote for Rubio for being Hispanic. However, if Kasich connects to their hearts, Rubio can use his charisma to make a few realize, "Hey, he understands me."
Also, white working class voters - "blue collar", if you will, swung slightly against Romney.