Counterterrorism police allege two of the five men they arrested in an operation in Melbourne were planning an Islamic State-inspired terrorist attack on an Anzac Day ceremony.