Soak the maize flakes in 1 cup water with a pinch of salt for 1 minute.
Squeeze out all water and steam the flakes in a steamer for 4-5 minutes. I have steamed the flakes using an Idli pan.
Wash and soak the Urad dal and Chana dal in warm water for 5-10 minutes.
Heat up oil in a non stick pan and add mustard seeds to it. Once they splutter, add the cumin seeds followed by green chilies and curry leaves.
Stir for 30 seconds. Now add the soaked and drained Urad and Chana dal followed by onions . Saute for 1 minute and add in the green peas. Mix and cover cook for 1-2 minutes or until the lentils get cooked.
Now add the steamed maize flakes followed by salt and sugar. Mix very well and stir for another 1 minute.
Turn off the flame. Garnish the maize flakes upma with scraped coconut.
Serve hot with chutney or tomato ketchup.