"I can do the cooking" is correct.
You would never say "I can do cooking". You would say "I can cook".
I can cook = you are able to cook. You know how to do it. i.e., I can write, I can sing, I can draw, etc.
I can do the cooking = you are offering to help. i.e., I can do the cooking when my parents come for dinner. I can do the cooking if you are too tired. etc.