Connecticut lawmakers are considering legislation making a $20 million investment in the mental health of students.