The past tense of keep under custody is kept under custody.
The third-person singular simple present indicative form of keep under custody is keeps under custody.
The present participle of keep under custody is keeping under custody.
The past participle of keep under custody is kept under custody.