Observability of forming planets and their circumplanetary discs – I. Parameter study for ALMA