MeBoy (and most J2ME emulators) has no cheat code interface. It mimics original Game Boy hardware, which had no cheat system.
Play legitimately. GB/GBC games are short; cheats ruin the tight design. If stuck, consult GameFAQs for strategies.