Capital Gain will be applicable and taxed at 20%. as you are saying you sold house property if you again invest in house property you can avail deduction from capital gain.
There is no tax liability arising due to the interest benefit you had taken. how ever capital gain Tax (Long Term or Short Term ) can be there. depending upon time, sale and purchase value involved