Regularity of Lagrangian flows over $RCD^*(K,N)$ spaces