Archive logs Pg_archive cleaner
pg_archivecleanup won't work automatically with 2 replicas, as it doesn't coordinate between them to reach an agreement.  You would have to manually decide up to what point you can remove them by determining which replica has the older restartpoint.  You could then feed that oldest restartpoint to pg_archivecleanup, but I don't see the point, if you have to decide manually what to use, why not just remove them manually as well?
You could use replication slots, and do away with the archive.  Then it will automatically keep files in pg_wal and remove them once they are no longer needed by any replica.  This does mean pg_wal might need to have somewhat larger capacity than it currently does, if the replicas ever get way behind.  (But then you don't have to reserve capacity for the archive anymore)