Dissipation driven dynamical topological phase transitions in two-dimensional superconductors