Correction: It's Parsons, not Ampleforth, who is arrested.
Parsons—a loyal, ordinary Party member—is turned in by his own daughter for thoughtcrime: dreaming he betrayed the Party. The dream is used as "evidence," showing the regime's total control over even subconscious thoughts.
Ampleforth is a poet at the Ministry of Truth, briefly detained for using the word "God" in a poem (leaving it in a Kipling quote), illustrating the Party's obsession with linguistic purity.
Both cases demonstrate the Party's absolute dominion over thought and language.