Degenerate SDEs with singular drift and applications to Heisenberg groups