The judge may have told you to ride with two hands to improve your
balance.  If you try riding with one hand, you will notice a slight
shift in your position making it off-center.  Riding with two hands
keeps your weight centered more evenly.   At least that's what I've
discovered personally.
Karen
Ormond Beach,Fl