Coarsely grind peas. Chop one onion and slice the other. Soak kokum petals in one cup of water. Heat one tablespoon of oil in a pan, add ground peas and sauté for three to four minutes. Keep aside.
Heat one more tablespoon of oil, add cloves, black peppercorns, coriander seeds and sauté for two minutes. Add sliced onion and sauté till light brown, add coconut and sauté till light brown.
Cool the mixture, add ginger and garlic and grind to fine paste with a little water. Heat the remaining oil in kadai add cumin seeds.When they change colour add chopped onion and sauté till golden brown. Add ground masala and sauté till oil leaves the masala.
Add red chilli powder, garam masala, turmeric powder and stir well. Add tomatoes and cook till soft. Add the sautéed peas and two cups of water and cook for five minute. Add kokum water and salt and let it simmer for two to three minutes. Serve hot garnished with coriander leaves.