Characterization of the L 98-59 multi-planetary system with HARPS: two confirmed terrestrial planets and a mass upper limit on the third