Add chicken, onions, vinegar, the juice of all the limes, pepper and cayenne to a large bowl. Mix well and marinate for 30 minutes. Take the chicken out of the bowl and saute until golden brown on all sides. Add onions and fry until they are a golden brown as well. Add marinade and 1 cup of water. Simmer for 20 minutes and serve with rice.