It's something a child would say.
To go "number one" is to urinate, and to go "number two" is to defecate.
Another way to say this, suitable for someone the same age: I have to poo.
Adults in the US do not specify what activity is required when using the toilet. They just excuse themselves and take care of it.