A bipartisan bill in the U.S. Senate would create a path to citizenship for millions of people who entered the country illegally, improve access for work visas and spend billions of dollars to secure the border.