Two railroad crossings in the Amarillo area are set to receive millions of dollars in state funding as part of a statewide effort to improve safety and reduce traffic congestion.