Chop the onions, ginger and green chili finely. In a vessel add wheat flour, rice flour, pepper, cumin seeds, chopped onions, ginger and green chili along with salt. Add water little by little and mix well. The batter should be like thick buttermilk neither thick nor too thin. Set aside.