It means you have 2 extra points of material (ie: being up a rook for a knight, or maybe being up a bishop for a pawn). It could also be referring to being up 2 positional points, which I believe would mean your position is better to the point of it being worth 2 points of material.