Numerical approximation of Lyapunov exponents of the Kontsevich-Zorich cocycle