Idiomatically a handicap is a disadvantage not an advantage. So if Shin had two extra stones, KataGo had a two stone handicap.
Since the AI was playing scratch (the normal, unmodified play style), it seems odd to say it had a handicap. Rather, the human had a positive handicap of two stones.
X defeats (Y with Z)
or
(X defeats Y) with Z
with the latter usually understood as meaning X has Z, as far as I know.