The acidic behavior of the acid is due to the presence of hydrogen ions . The acids will not show acidic behavior in absence of water because there will not be any reaction of acid with hydrogen ions.
Acids do not show acidic behaviour in the absence of water because the dissociation of hydrogen ions from an acid occurs in the presence of water only. It is the hydrogen ions that are responsible for the acidic behaviour.