I want something to drink right now.

Literal

I [topic-は] now, drink [purpose-ための] something [subject-が] wanted.

飲むための何か ('something for the purpose of drinking') uses ~ための to modify 何か with a purpose clause. Compare with 冷たい飲み物が欲しい — same desire expressed through purpose-clause modification rather than a concrete noun.