ISIS could use chemical weapons to carry out a mass attack on UK soil, a government minister warned.