You can't electrolyze urea by solving it in water and passing electricity through the solution, for that you'd have to melt pure urea and electrolyze that. Problem is that it will decompose above its melting point.
So, even when urea is solved in the water, only the water is electrolyzed (in hydrogen and oxygen).