He can't get to know their plan that easily but he's being alerted with two weddings.Actually, my DTH synopsis said that Anand comes to know of KB and SI's plans-i.e. wanting to marry Azad to Mahira.
Maybe that's the reason he checks under the veil to ensure that it's Mahira.