To remove acidity in beans while cooking soak the beans overnight before cooking.
Home Solution 2: Drop carrot in the beans while they are boiling. Thereafter, make sure nobody eats the carrot (throw it away). This is because the carrot contains acidity after boiling in the beans.