awk -F "|" '{A[$1]+=$2;B[$1]+=$3;}END{for(i in A){printf "%s|%s|%0.02f\n", i,A,B}}' file
awk -F "|" '{ # Define | as a Field Separator
A[$1]+=$2; # Add $2 to the array A having index of $1
B[$1]+=$3;} # Add $3 to the array B having index of $1
END{for(i in A) # Get all the indexes of array A in i
{printf "%s|%s|%0.02f\n", i,A,B}}' file # Print i(means $1),A(means sum of all $2 for the particular $1),B(means sum of all $3 for the particular $1). Used 0.02f here for floating purpose.