Water and the Taste of Coffee

How do minerals influence the taste of coffee? Do water treatment substances influence the taste of coffee? Is it possible to taste organic substances in coffee?