You cannot type cheat codes in Lego Batman: The Videogame (Nintendo DS). The DS version lacks a cheat code input system entirely.
The grind IS the game. The Batcave computer shows exactly what's missing. Hunt those Minikits!