Is what analytic at (0,0)? You asked about a function u+ iv, with u= x^2+ y^2.
As lurflurf said, use the Cauchy-Riemann equations- if f(z)= u(x,y)+ iv(x,y), z= x+ iy is analytic then
\frac{\partial u}{\partial x}= \frac{\partial v}{\partial y}
\frac{\partial v}{\partial x}= -\frac{\partial u}{\partial y}
Here, \partial u/\partial x= 2x and \partial u/\partial y= 2y so we must have
\frac{\partial v}{\partial y}= 2x
\frac{\partial v}{\partial x}= -2y
From the second equation, v= -2xy+ f(x) for some function, f, of x alone. Differentiating that with respect to x, v_x= -2y+ f'(x)= 2x which is impossible. There cannot be an analytic function with real part x^2+ y^2.