Well, #"Lewis acids"# are electron pair acceptors...
Explanation:
And #Mg^(2+)# and #Zn^(2+)# are CATIONS.... And since in aqueous solution we likely have #[M(OH_2)_6]^(2+)#, CLEARLY, the metals behave as #"Lewis acids"# in that they accept water solvation.