Ultrafast energy dynamics of two dimensional semiconducting and topological materials