In bowl combine cayenne, cumin, coriander, turmeric, pepper and salt. Sprinkle half the mixture over the chicken and rub in well. In large skillet saute chicken in oil until well browned. Remove chicken and set aside. Add ginger to pan and saute for 30 seconds. Add garlic and saute for 1 minute. Add onion and remaining spice mixture. Saute until onion is soft. Add rice and toss until it is coated with spices. Add water and bring rice to a boil. Boil for 5 minutes. Reduce heat to low and return chicken to pan burying the pieces in rice. Cover and simmer for 30 minutes. Meanwhile in another skillet, saute shallots in oil until light brown. Remove and set aside. In a small bowl, combine vinegar, sugar and a bit of salt. Stir well. Sprinkle with jalapenos. Serve sprinkle with shallots and cilantro and pass the sauce.