The cost of sending troops to assist with border crossings could reach as high as $2 billion, the Pentagon has told senators.