Pressure is building here for lawmakers to pass a bill that would funnel billions of dollars of U.S. investment into strengthening Africa’s electricity production and distribution capabilities, and could offer broad new support for off-grid opportunities.