Meanwhile, heat oil in a pan, tip in cumin seeds and allow them to sizzle. Add chopped onion and green chilies and fry till the onions turns light pink in colour. Add in green peas and all the spices, mix well and cook till the green peas get cooked properly.