Chicken Kuruma

Chicken (bone-in, skinless pieces are preferred)
Onions (finely sliced)
Ginger-garlic paste
Green chilies (slit)
Spices:
Turmeric powder
red chili powder
Garam masala
Coconut milk or ground coconut
Cilantro (for garnishing)
Oil (vegetable or coconut oil)
Salt (to taste)
Water (as needed)