Wash and soak the rice for 30 minutes. Discard the water and keep ready before cooking.
Heat ghee in a non-stick or heavy-bottom saucepan. Add all the whole spices and cumin seeds and fry till it splutters.
Then add sliced onion and green chilies, saute till onions turn soft, and then add ginger and garlic paste and fry for a minute.
Now add potatoes and green peas followed by 1 teaspoon coriander powder, 1 teaspoon turmeric powder, 1/2 teaspoon red chili powder, and 1/4 teaspoon garam masala powder. Mix well and cook for a couple of minutes till potatoes are well coated with the spices.
Now add 4 cups of water, salt, and lemon juice stir well, and let the water come to a boil.
Finally, add soaked rice and cook on medium heat for 15 to 20 minutes roughly or till the water evaporates and rice is fully cooked.
Serve hot with raita, pickle, or mint chutney.