Probing black hole accretion in quasar pairs at high redshift