Two senators targeted TCS and Cognizant over layoffs and hiring practices. A third senator is pushing for a reform of the H-1B programme, while another has proposed increasing taxes on companies offshoring work.