I have two presents for a friend.

Literal

Friend [purpose-のための] presents [object-を] two have.

のためのプレゼント uses the attributive form of ため — のための modifies the noun directly, unlike ために which modifies a verb. The counter 2つ (ふたつ) uses the native Japanese counting system, common for small quantities of generic objects.