Time is quickly running out for lawmakers to agree on a deal to avoid default and end the partial government shutdown.