Immigrants detained in facilities across the U.S. would be able to contact their lawyers and families under legislation filed by a group of congressional Democrats.