Pretty much how fast food outlets in India work - the kitchens are divided into vegetarian and non-vegetarian sections, with separate utensils, fryers - everything. You can walk into a KFC in India and get vegetarian options that were cooked in an entirely vegetarian section.