The US government will begin a partial shutdown on Friday at midnight if no budget deal is reached.