A group of moderate Democrats have agreed to move forward with an agreement brokered by Republican lawmakers to reopen government.