This is a letter of an exericse in Artin Algebra and has been asked and answered here as well as by Brian Bi here and Takumi Murayama here. I had a different approach here and have yet another approach.
$\mathbb R$ is a field so its only ideals are $(1)$ and $(0)$. Thus, by Structure of ideals in the product of two rings all the ideals of $\mathbb R^2$ are $$(0)\times(0),(1)\times(1),(0)\times(1),(1)\times(0)$$. Then it's obvious $$(0)\times(1),(1)\times(0)$$ are the maximal ideals.
Is this correct also?