Grind the coconut, green chilies, ginger, garlic, onion, garam masala, nutmeg, coriander and cumin seeds together with 3/4 cup of water and puree. In a bowl marinate the meat with yoghurt, turmeric, salt & red chili powder.
Heat oil in a large pan. Add the cinnamon, cloves, cardamom, peppercorns and bay leaves and fry for a few minutes. Add the ground mixture and fry for about 10 minutes until the oil separates from the mixture. Stir constantly. Add the marinated meat. Mix well. Cover and cook for about 30 minutes. Stir occasionally to prevent the mixture from sticking to the pan. Then add the potatoes and mix thoroughly. Remove from heat.
Preheat the oven to 400°F.
Boil the rice with 4 cups of water and 1 tablespoon of oil over medium heat until half cooked. Drain in a colander. Add the peas to it and keep it aside.
Tranfer the meat to a large casserole. Add mint & coriander leaves. Spread the rice on top of it. Cover with aluminum foil and close the lid. Bake for 15 minutes at 400°F. then reduce the heat to 300°F and cook for 15 more minutes. Turn off the heat and let it be in the oven for 5 minutes. Serve hot with any raita, mint or coriander chutney.